gtk/gtksecurememoryprivate.h: Include glib.h
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 30 Dec 2020 10:13:15 +0000 (18:13 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 9 Jan 2021 03:24:42 +0000 (22:24 -0500)
Some compilers somehow do not have `inline` defined, so include glib.h
to ensure that keyword is defined.`

gtk/gtksecurememoryprivate.h

index 0209d4fc111779627e6f7109a7d8692d765c97fd..bf9c5f3803176d0070cf174fb5219b893cb6db9a 100644 (file)
@@ -25,6 +25,7 @@
 #pragma once
 
 #include <stdlib.h>
+#include <glib.h>
 
 /*
  * Main functionality